import { activityAxios } from '@/axios'
export function geConfig(data) {
  return activityAxios({
    url: '/pf/api/v3/miniGame/findDifference/getFDGameConfig',
    method: 'get',
    params: data,
    headers: {
      Authorization: data,
    },
  })
}

export function getUserDetails(data) {
  return activityAxios({
    url: '/pf/api/v3/miniGame/findDifference/getUserGameInfo',
    method: 'get',
    params: data,
    headers: {
      Authorization: data,
    },
  })
}
export function challengeStage(data) {
  return activityAxios({
    url: '/pf/api/v3/miniGame/findDifference/challengeStage',
    method: 'post',
    params: data,
    headers: {
      Authorization: data,
    },
  })
}
export function isPassStage(data) {
  return activityAxios({
    url: '/pf/api/v3/miniGame/findDifference/isPassStage',
    method: 'post',
    params: data,
    headers: {
      Authorization: data,
    },
  })
}
export function useProp(data) {
  return activityAxios({
    url: '/pf/api/v3/miniGame/findDifference/useProp',
    method: 'post',
    params: data,
    headers: {
      Authorization: data,
    },
  })
}

export function finishGame(data) {
  return activityAxios({
    url: '/pf/api/v3/miniGame/findDifference/finishGame',
    method: 'post',
    params: data,
    headers: {
      Authorization: data,
    },
  })
}
